package com.hlm.dao;

import com.hlm.domain.Home;
import com.hlm.domain.User;
import com.hlm.domain.UserHome;
import org.apache.ibatis.annotations.Param;


import java.util.List;

public interface UserDao {
    //添加房间类
    int insertHome(Home home);
    //查房间
    List<Home> selectHome();

    //添加客户
    int insertUser(User user);

    //客户入住
    int insertUserHome(UserHome userHome);
    int updateHome(@Param("o1")Integer kefangbianhao,@Param("o2") String shiyongzhuangtai);

}
